<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateUserTable extends Migration {

	/**
	 * Run the migrations.
	 * Create table user
	 * @return void
	 */
	public function up()
	{
		Schema::create('user',function($table){
			$table->increments('id');
			$table->string('username');
			$table->string('password');
			$table->string('email');
			$table->string('level');
		});
	}

	/**
	 * Reverse the migrations.
	 * Drop table user
	 * @return void
	 */
	public function down()
	{
		Schema::drop('user');
	}

}
